<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
        }

        .tip {
            position: absolute;
            top: 0;
            left: 15px;
            display: none;
        }
        .tip p {
            width: 80px;
            height: 30px;
            background-color: green;
            color: #fff;
            text-align: center;
            line-height: 30px;
        }

        .tip div {
            width: 0;
            height: 0;
            border: 5px solid green;
            border-right: 5px solid transparent;
            border-bottom: 5px solid transparent;
            margin-left: 20px;
        }
        .text{
            position: relative;
            top: 40px;
            font-size: 20px;
        }
    </style>
</head>

<body>
    <div class="tip">
        <p>三甲/19</p>
        <div class="jt"></div>
    </div>
    <p class="text" >极速问诊</p>
    <script>
        let text = document.querySelector('.text')
        let tip = document.querySelector('.tip')
        text.onmouseenter=function(){
            tip.style.display='block'
        }
    </script>
</body>

</html>